﻿using EventHandler.Libraries.Business.Security;
using System.Collections.Generic;
using Rhino.Mocks;
using EventHandler.Libraries.Business.Database;

namespace EventHandler.Libraries.Business.Tests.Security.AccountTests
{
	internal static class AccountTestUtilities
	{

		public static IDatabaseHelper CreateDatabaseHelper()
		{
			return MockRepository.GenerateMock<IDatabaseHelper>();
		}


		public static IAccount GetValidTestAccount()
		{
			IAccount account = new Account
			{
				FirstName = "Test",
				LastName = "Test",
				Email = "Test@Test.com",
				Username = "Test",
				Password = "Test123",
				AuthenticationTypeId = 1,
				Properties = new Dictionary<string, string>()
			};

			return account;
		}
	}
}
